package com.zork.cmdb.webapi.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.zork.cmdb.webapi.common.exception.CmdbException;

import java.util.Map;

/**
 * @author chenjh
 * @date 2018/5/16
 * @description
 */
public interface ModuleInstanceService {

    PageInfo<Map<String, Object>> listInstance(Integer moduleID, Integer instanceID, Integer pageNum, Integer pageSize, String... wheresql) throws CmdbException;

    StringBuffer getListInstanceSql(Integer moduleID) throws CmdbException;
}
